/**业务架构 */
<template>
  <div class="business-architecture-page">
    <div class="solution-item-box main-content">
      <div class="item-title-box">{{ title }}</div>
      <div class="solution-line-box"></div>
      <div class="solution-item-business-box">
        <div class="item-business-box" v-if="dataLsit.length > 1">
          <a-row
            type="flex"
            :gutter="{ xs: 15, sm: 20, md: 50, lg: 200 }"
            justify="space-between"
          >
            <a-col
              class="item-wuli-box"
              v-for="(item, index) in dataLsit"
              :key="item"
              :md="12"
              :sm="23"
              :xs="23"
            >
              <img
                :class="`item-img-box${index + 1}`"
                :src="require(`@/assets/solution/${item}.png`)"
              />
            </a-col>
          </a-row>
        </div>

        <div class="item-box" v-else>
          <img
            style="max-width: 100%;"
            :src="require(`@/assets/solution/${dataLsit[0]}.png`)"
          />
        </div>
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  props: {
    title: {
      type: String,
      default: function() {
        return "业务架构";
      },
    },
    dataLsit: {
      type: Array,
      default: function() {
        return [];
      },
    },
  },
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>
<style lang="scss" scoped>
.solution-item-box {
  padding: 2.75rem 0px;
  .item-title-box {
    font-size: 24px;
    font-weight: 600;
    color: #444444;
    line-height: 36px;
  }

  .solution-line-box {
    width: 48px;
    height: 2px;
    background: #31a3ff;
    margin-top: 20px;
    margin-bottom: 13px;
  }
}
.solution-item-business-box {
  margin: 30px 0;
}
.item-business-box {
  .item-wuli-box {
    // flex: 1;
    min-height: 270px;
    max-height: 500px;
    padding: 20px 0;
    img {
      height: 100%;
      max-width: 100%;
    }
  }
}
</style>
